package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("合成订单补偿")
public class AdminCompensationSynthesisDTO {

    @ApiModelProperty("补偿起始下标")
    @NotNull(message = "起始游标不能为空")
    private Integer start;

    @ApiModelProperty("补偿结束订单下标")
    @NotNull(message = "结束游标不能为空")
    private Integer end;

    @ApiModelProperty("补偿金额")
    @NotNull(message = "金额不能为空")
    private BigDecimal price;

    @ApiModelProperty("补偿次数")
    @NotNull(message = "补偿次数不能为空")
    private Integer sum;

    @ApiModelProperty("0:居民 1:城主")
    @NotNull(message = "类型不能为空")
    private Integer type;

    @ApiModelProperty("116:居民 117:城主")
    @NotNull(message = "藏品id不能为空")
    private Long collectionId;

}
